package com.xiaomi.service;

import com.xiaomi.dto.VehicleDTO;
import com.xiaomi.entity.Vehicle;

import java.util.List;

public interface VehicleService {
    Vehicle insert(Vehicle vehicle);

    Vehicle getById(Long FrameNumber);

    void update(VehicleDTO vehicleDTO);

    void deleteById(Long FrameNumber);

    List<Vehicle> getAllVehicles();
}
